package routers

import (
	"familytree/controllers"

	"github.com/gin-gonic/gin"
)

func connectionRouter(r *gin.RouterGroup) {
	r.GET("/connection", controllers.Getconnection)
	r.DELETE("/connection", controllers.Delconnection)
	r.PUT("/connection", controllers.Updateconnection)
	r.POST("/connection", controllers.Addconnection)
}
